package com.weixing.mall.provider.model.vo.report.storage;

import com.alibaba.excel.annotation.ExcelProperty;
import com.weixing.mall.provider.model.enums.DepotTypeEunm;
import com.weixing.mall.provider.support.excel.EnumConverter.DepotTypeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author jzy
 * @date 2020/6/10
 */
@Data
@ApiModel(value="StorageOutDepotDetailVo", description="仓储部-02进出库汇总表-出库明细")
public class StorageOutDepotDetailVo {
    @ApiModelProperty(value = "月份")
    @ExcelProperty("月份")
    private String month;
    @ApiModelProperty(value = "类型")
    @ExcelProperty(value = "类型",converter = DepotTypeConverter.class)
    private DepotTypeEunm type;
    @ApiModelProperty(value = "数量")
    @ExcelProperty("数量")
    private Integer quantity;
    @ApiModelProperty(value = "金额")
    @ExcelProperty("金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "库存金额")
    @ExcelProperty("库存金额")
    private BigDecimal amountCost;
}
